/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package warmachinesystem;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Base Unit</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link warmachinesystem.BaseUnit#getArmyList <em>Army List</em>}</li>
 *   <li>{@link warmachinesystem.BaseUnit#getPointCost <em>Point Cost</em>}</li>
 *   <li>{@link warmachinesystem.BaseUnit#getName <em>Name</em>}</li>
 *   <li>{@link warmachinesystem.BaseUnit#getUnitRules <em>Unit Rules</em>}</li>
 *   <li>{@link warmachinesystem.BaseUnit#getFieldAllowance <em>Field Allowance</em>}</li>
 * </ul>
 * </p>
 *
 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit()
 * @model abstract="true"
 * @generated
 */
public interface BaseUnit extends EObject {
	/**
	 * Returns the value of the '<em><b>Army List</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link warmachinesystem.ArmyList#getBaseUnits <em>Base Units</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Army List</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Army List</em>' container reference.
	 * @see #setArmyList(ArmyList)
	 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit_ArmyList()
	 * @see warmachinesystem.ArmyList#getBaseUnits
	 * @model opposite="baseUnits" required="true" transient="false"
	 * @generated
	 */
	ArmyList getArmyList();

	/**
	 * Sets the value of the '{@link warmachinesystem.BaseUnit#getArmyList <em>Army List</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Army List</em>' container reference.
	 * @see #getArmyList()
	 * @generated
	 */
	void setArmyList(ArmyList value);

	/**
	 * Returns the value of the '<em><b>Point Cost</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Point Cost</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Point Cost</em>' attribute.
	 * @see #setPointCost(int)
	 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit_PointCost()
	 * @model
	 * @generated
	 */
	int getPointCost();

	/**
	 * Sets the value of the '{@link warmachinesystem.BaseUnit#getPointCost <em>Point Cost</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Point Cost</em>' attribute.
	 * @see #getPointCost()
	 * @generated
	 */
	void setPointCost(int value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link warmachinesystem.BaseUnit#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Unit Rules</b></em>' reference list.
	 * The list contents are of type {@link warmachinesystem.SpecialRule}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Unit Rules</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unit Rules</em>' reference list.
	 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit_UnitRules()
	 * @model
	 * @generated
	 */
	EList<SpecialRule> getUnitRules();

	/**
	 * Returns the value of the '<em><b>Field Allowance</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Field Allowance</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Field Allowance</em>' attribute.
	 * @see #setFieldAllowance(String)
	 * @see warmachinesystem.WarmachineSystemPackage#getBaseUnit_FieldAllowance()
	 * @model
	 * @generated
	 */
	String getFieldAllowance();

	/**
	 * Sets the value of the '{@link warmachinesystem.BaseUnit#getFieldAllowance <em>Field Allowance</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Field Allowance</em>' attribute.
	 * @see #getFieldAllowance()
	 * @generated
	 */
	void setFieldAllowance(String value);

} // BaseUnit
